
const baseURL = 'http://hmajax.itheima.net'
const getArraySum = arr =>arr.reduce((sum,item)=>sum+=item,0)
//导出
module.exports = {
    url:baseURL,
    Arraysum : getArraySum
}